package systemRouter

import (
	"CommonsProject/controller/systemController"
	"CommonsProject/repository/systemRepository"
	"CommonsProject/service/systemService"
	"github.com/gin-gonic/gin"
	"gorm.io/gorm"
)

func registerUserController(engine *gin.Engine, db *gorm.DB) {
	(&systemController.SysUserController{
		Service: &systemService.SysUserService{
			&systemRepository.SysUserRepository{
				db,
			}},
	}).Register(engine)
}
